package com.swagger.doc.swaggertodoc.req;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * @author 哲思小辉
 * @version 1.0.0
 * @ClassName ParameterModel.java
 * @Description TODO
 * @Param
 * @createTime 2020年03月23日 10:03:00
 */
@Setter
@Getter
public class ParameterReq implements Serializable {
    private String name;
    private String in;
    private String required;
    private String type;
    private String format;
    @JSONField(name = "x-example")
    private String example;
    private SchemaReq schemaReq;
}
